package com.github.bridge.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class CreateRemarkUrlDTO extends BaseDTO {

    @Schema(description = "备注文字输入方式 1-手写抄录输入 2-键盘自由输入", allowableValues = {"1", "2"}, requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer inputType;

    @Schema(description = "预设待抄录信息 最多支持100个汉字（含标点符号）," +
            "inputType=1时此参数必须传值" +
            "inputType=2时此参数无需传值")
    private String remarkContent;

    @Schema(description = "备注图片的宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer remarkFieldWidth;

    @Schema(description = "备注图片的高度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer remarkFieldHeight;

    @Schema(description = "备注文字大小，默认值11（px）")
    private Integer remarkFontSize;

    @Schema(description = "是否开启AI手写抄录校验 0-不开启 1-开启AI校验 2-强制AI校验," +
            "inputType=1时此参数必须传值 inputType=2时此参数不生效", allowableValues = {"0", "1", "2"})
    private Integer aiCheck;

    @Schema(description = "回调地址, 不填写则不推送回调")
    private String notifyUrl;

    @Schema(description = "重定向地址, 在完成签署后前端重定向的地址")
    private String redirectUrl;

}
